Skip to content

Coderhelm's app shows one sign-in button; keys only under my own app or Use a key instead - #334

Merged
nambok merged 2 commits into
mainfrom
sign-in-choice-one-button
Nov 8, 2026
Merged

nambok merged 2 commits into
mainfrom
sign-in-choice-one-button

Conversation

@nambok

@nambok nambok commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

On a self-hosted install with hybrid, "Use Coderhelm's app" in the Knowledge add flow now shows one "Sign in with Notion" (or Confluence) button and the choice's one line. It shows no token steps and no form fields. A key stays behind "Use a key instead". The token steps show under "Use my own app" when the install has no app of its own. Switching the choice updates the dialog at once.

Integration sign-in buttons now read "Sign in with ", with one short line, and the key stays behind "Use a key instead". This pairs with the platform change that makes those sign-ins work on self-hosted installs.

A catalog key for a vendor whose hosted MCP server takes one now connects to that server ("Connect with this key"). A server no key works for shows the reason and no form.

Changes

  • components/hybrid-app-choice.tsx: useHybridChoice(id) gives the current choice, and an onChanged callback fires after it's saved.
  • components/knowledge/add-flow.tsx: the connect step follows the choice.
    • Coderhelm's app: the sign-in button only. If Coderhelm's app isn't ready yet, one sentence says so, with no form.
    • Own app: the existing token or sign-in steps.
    • Changing the choice reloads the connections.
    • The second choice reads "Use a key instead".
  • components/mcp-server-panel.tsx: "Sign in with ", with one line.
  • components/mcp-server-panel.tsx: RemoteKeyForm for remote_key servers, and the key_unavailable reason in place of a key form. lib/api.ts: the remote_key, key_unavailable and key fields.
  • e2e:
    • new knowledge-app-choice.spec.ts covers Notion and Confluence with each choice, switching between them, the not-ready case, and 375px width with no sideways scroll;
    • existing specs are updated for the new button names.

Verification

  • npm run typecheck and npm run lint pass.
  • Playwright, including the new mcp-servers tests for a key connecting to the vendor's server and a server with no key path: knowledge-app-choice, knowledge-connect, knowledge, knowledge-signin, mcp-servers, integrations-page, hybrid.
  • Screenshots are in test-results/shots/knowledge-app-choice-*.png.

…or Use a key instead

On a self-hosted install with hybrid, the Knowledge add flow for Notion and
Confluence follows the app choice: Coderhelm's app shows one Sign in button and
no token steps or fields, a key stays behind Use a key instead, and switching
the choice updates the dialog. Integration sign-in buttons read Sign in with
<app>.

A key for a server whose vendor's hosted MCP server takes one connects to that
server ("Connect with this key"); a server no key works for says why, with no
form.
@nambok
nambok force-pushed the sign-in-choice-one-button branch from 4283b8c to b10d648 Compare November 8, 2026 03:14
@nambok
nambok merged commit 689231a into main Nov 8, 2026
10 checks passed
@nambok
nambok deleted the sign-in-choice-one-button branch November 8, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant